
import { FormControl } from './FormControl';
import { FormArray } from './FormArray';
import { FormGroup } from './FormGroup';


export class FormUtils {

	public static isFormControl = (formItem:any):boolean => {
		return formItem instanceof FormControl;
	}

	public static isFormArray = (formItem:any):boolean => {
		return formItem instanceof FormArray;
	}

	public static isFormGroup = (formItem:any):boolean => {
		return formItem instanceof FormGroup;
	}

}
